﻿<?php
session_start();
include("../config/connect.php");
include("../public/common.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="兔丝街,网购,淘宝网购,网购大全,网购女装,淘宝网购物,淘宝网导购,淘宝网女装,购物分享,新奇,新潮,好玩" /> 
<meta name="description" content="兔丝街是一个充满卡通神秘色彩，新潮有趣，奇特好玩的时尚购物社区，是您的秘密后花园。街上的商品琳琅满目，最好看、最超值的衣服、鞋子、包包、配饰、化妆品，让您爱不惜手；奇特有趣的小商品，实用又好玩，让您惊喜又惊讶。" /> 
<title>做分享达人，赢Dior香水！</title>
<link type="text/css" rel="stylesheet" href="../css/base.css" />
<style type="text/css">
/***/
.neitiyan { width:950px; padding:0 0 40px 0; overflow:hidden; overflow:hidden;}
.rule .top { background:url(img/youjiangnc_sx.jpg) no-repeat; width:611px; height:103px; overflow:hidden;}
.rule .bottom { background:url(img/zzs.jpg) no-repeat; width:611px; height:6px; overflow:hidden;}
.rule .top h1 { display:none;}
.middle { width:567px; overflow:hidden; border-left:2px solid #FCB2CB; border-right:2px solid #FCB2CB; padding:0 20px 60px 20px}
.middle p,.middle li { text-indent:20px;}
.rule h2,.daren h2 { font-size:22px; font-weight:bold; text-align:center; color:#FF679A; width:885px;}
.rule { width:611px; float:left}
.rule .ru { width:605px; overflow:hidden; padding:20px 0 10px 0;}
.rule .ru h2,.daren h2,#tab li { width:150px; font-size:18px; text-align:left; line-height:24px; height:24px; float:left; margin:0 5px;}
.rule .ru span,.rank .s1 { background:url(img/youjiangnc_num.png) no-repeat;}
.rule .ru span { background-position:0 -210px; float:left; margin-right:5px; width:20px; height:24px; display:inline-block;}
.rule p,.rule ul li { line-height:30px; color:#666; overflow:hidden;}
.fenxiang { width:93px; height:30px; background:url(img/fenxiang.gif) no-repeat; display:block; float:left; margin-left:10px;}
.YCphang { float:left; padding-left:25px;}
.daren .rank { clear:both; width:235px; margin:0 15px; overflow:hidden;}
.daren .rank li,.baobei dl { clear:both; height:70px; border-bottom:1px dashed #dedede;}
.rank .s1 { width:20px; height:20px; overflow:hidden;}
.rank .s1,.rank .s2,.rank .s3 { float:left; margin:10px 0;}
.rank .p2 .s1 { background-position:0 -21px;}
.rank .p3 .s1 { background-position:0 -42px;}
.rank .p4 .s1 { background-position:0 -63px;}
.rank .p5 .s1 { background-position:0 -84px;}
.rank .p6 .s1 { background-position:0 -105px;}
.rank .p7 .s1 { background-position:0 -126px;}
.rank .p8 .s1 { background-position:0 -147px;}
.rank .p9 .s1 { background-position:0 -168px;}
.rank .p10 .s1 { background-position:0 -189px;}
.rank .s2 { margin-left:10px; width:32px; height:32px; overflow:hidden;}
.rank .s3 { margin-left:10px; line-height:18px;}
.rank .se a,.rank span { color:#FF679A;}
.daren .baobei li { height:140px}
.baobei {  overflow:hidden;}
.baobei .s1 { margin:0;}
.baobei dl { height:130px;padding-top:10px;}
.baobei .s2 { width:205px; height:130px; margin:0 0 0 10px;}
.baobei .s2 .im { height:102px;}
.baobei .s2 .im .tt { height:100px; width:100px; border:1px solid #dedede; text-align:center;}
.baobei .s2 .im .tt,.baobei .s2 .im .bo { float:left;}
.baobei .s2 .im .bo { margin-left:10px; width:90px; overflow:hidden; line-height:200%;}
.baobei .s2 .ti p { line-height:25px; height:25px; overflow:hidden;}
#tab,#tab li a { background:url(img/tab.jpg) no-repeat;overflow:hidden; height:35px;}
#tab li,#tab li a { width:87px; cursor:pointer; height:35px; overflow:hidden; display:block; line-height:300px; margin:0; padding:0;}
#tab li.on a.daren { color:#FF679A; background-position:left top;}
#tab li a.daren { color:#FF679A; background-position:left -39px;}
#tab li a.newbb { background-position:-87px 0;}
#tab li.on a.newbb { background-position:-87px -39px;}
.neitiyan .YCphang .rank li.p10,.neitiyan .YCphang .baobei dl.p5 { border:none;}
.rule .rrd li {  font-weight:bold;}
.rule .rrd li b { width:156px; display:block; float:left;}
.rule .rrd li span { padding-left:10px; float:left;}
</style>
</head>
<body class="Crowd">
<div id="wrapper">
<!---head kaishi--->
     <?php
	 //echo date("Y-m-j G:i:s");
		 include("../headtop.php"); 
	?>
<!-----head 结束----->
    <div class="main">
    	<div style="font-size:0; margin-top:10px; overflow:hidden;"><img src="img/fd_bg.jpg" alt="兔丝街-做分享达人，赢迪奥香水！" /></div>
        <div class="neitiyan">
        	<div class="rule">
                <div class="top"><h1>做分享达人，赢Dior香水！</h1></div>
                <div class="middle">
                    <div class="ru"><span class="t1"></span><h2>活动时间：</h2></div>
                    <p>第一期竞赛时间：2011年09月01日00时:00分:00秒—2011年09月30日 00时:00分:00秒</p>
                    <div class="ru"><span class="t1"></span><h2>达人玩法：</h2></div>
                    <ul>
                        <li>第一步：注册并登陆兔丝街（<a href="http://www.tusijie.com/user/register.php" target="_blank" title="点击注册兔丝街">www.tusijie.com</a>）</li>
        
                        <li>第二步：进入淘宝寻找自己喜欢的产品，复制宝贝链接</li>
                        <li>第三步：使用兔丝街个人中心的分享功能，输入宝贝链接，点击获取宝贝信息，完善推荐说，发布宝贝</li>
                    </ul>
                    <div class="ru"><span class="t1"></span><h2>活动奖品：</h2></div>
                    <ul>
                        <li>第一名：Dior迪奥真我香水</li>
                        <li>第二名：benefit贝玲妃完美肌肤控油打底霜</li>
        
                        <li>第三名：2011年秋季新款荷叶边修身短款小西装</li>
                        <li>第四名：VIVI同款英伦复古压花提花棕色单肩包</li>
                        <li>第五名：欧美复古彩釉桃心长款毛衣链</li>
                    </ul>
                    <div class="ru"><span class="t1"></span><h2 style="width:240px;">如何获得较多喜欢数？</h2></div>
                    <ul>
                        <li>1、推荐的宝贝视觉冲击力强</li>
        
                        <li>2、推荐的宝贝优质且价格适中</li>
                        <li>3、将自己推荐的宝贝分享到新浪微博、QQ空间、人人、腾讯微博</li>
                        <li>4、将自己推荐的宝贝链接分享给好友快速获得喜欢数，增加自己的排名</li>
                    </ul>
                    <p>	（这个你们懂的。。。）</p>
                    <p style="margin-top:20px;"><span style="float:left; color:#FD3480; font-weight:bold;">哈哈，是不是很简单呢~那赶快用你独特购物眼光为自己赢得更多喜欢，</span><a href="http://www.tusijie.com/user/edit_items.php" class="fenxiang"></a></p>
                    <p style="font-size:14px; color:red;">本活动于2011年09月30日 00时:00分:00秒圆满结束</p>
                    <ul class="rrd">
                        <li><b>第一名：Mrs.chen</b><span>荣获Dior迪奥真我香水</span></li>
                        <li><b>第二名：神马</b><span>荣获benefit贝玲妃完美肌肤控油打底霜</span></li>
                        <li><b>第三名：小锦</b><span>荣获2011年秋季新款荷叶边修身短款小西装</span></li>
                        <li><b>第四名：漠漠安</b><span>荣获VIVI同款英伦复古压花提花棕色单肩包</span></li>
                        <li><b>第五名：小巫碎碎念</b><span>荣获欧美复古彩釉桃心长款毛衣链</span></li>
                    </ul>
                    <p style="font-size:14px; color:red;">请以上中奖达人与兔丝街客服联系。</p>
                </div>
                <div class="bottom"></div>
    
            </div>
            <div class="YCphang">
                <ul id="tab">  
                    <li id="tab_1" onClick="switchTab(1)" class="on"><a href="javascript:void(0);" class="daren">达人排行榜</a></li>  
                    <li id="tab_2" onClick="switchTab(2)"><a href="javascript:void(0);" class="newbb">最热宝贝</a></li>  
                </ul>
                <div class="daren" id="tab_con_1">
                    <div class="rank">
                    	<ul>
                    		<li class="p1"><div class="s1"></div><div class="s2"><a target="_blank" href="../userhome.php?uid=10000579"><img alt="" src="http://www.tusijie.com/user/headpic/avatar_small/10000579_small.jpg"></a></div><div class="s3"><p class="se"><a target="_blank" href="../userhome.php?uid=10000579">Mrs.chen</a></p><p>分享了<span>34</span>个宝贝</p><p>收到<span>851</span>个喜欢</p></div></li>
                            <li class="p2"><div class="s1"></div><div class="s2"><a target="_blank" href="../userhome.php?uid=10000136"><img alt="" src="http://www.tusijie.com/user/headpic/avatar_small/10000136_small.jpg"></a></div><div class="s3"><p class="se"><a target="_blank" href="../userhome.php?uid=10000136">神马</a></p><p>分享了<span>48</span>个宝贝</p><p>收到<span>847</span>个喜欢</p></div></li>
                            <li class="p3"><div class="s1"></div><div class="s2"><a target="_blank" href="../userhome.php?uid=10000577"><img alt="" src="http://www.tusijie.com/user/headpic/avatar_small/10000577_small.jpg"></a></div><div class="s3"><p class="se"><a target="_blank" href="../userhome.php?uid=10000577">小锦</a></p><p>分享了<span>36</span>个宝贝</p><p>收到<span>840</span>个喜欢</p></div></li>
                            <li class="p4"><div class="s1"></div><div class="s2"><a target="_blank" href="../userhome.php?uid=10000038"><img alt="" src="http://www.tusijie.com/user/headpic/avatar_small/10000038_small.jpg"></a></div><div class="s3"><p class="se"><a target="_blank" href="../userhome.php?uid=10000038">漠漠安</a></p><p>分享了<span>30</span>个宝贝</p><p>收到<span>810</span>个喜欢</p></div></li>
                            <li class="p5"><div class="s1"></div><div class="s2"><a target="_blank" href="../userhome.php?uid=10000109"><img alt="" src="http://www.tusijie.com/user/headpic/avatar_small/10000109_small.jpg"></a></div><div class="s3"><p class="se"><a target="_blank" href="../userhome.php?uid=10000109">小巫碎碎念</a></p><p>分享了<span>63</span>个宝贝</p><p>收到<span>775</span>个喜欢</p></div></li>
                           
                    	</ul>
                	</div>
                </div>
                <div class="daren" id="tab_con_2" style="display:none">
                <div class="rank baobei">
                    <?PHP
                    $sql = "select tsj_user.nick_name,goods_items.id,goods_items.item_title,goods_items.pic_url,goods_items.favorite,goods_items.hits from goods_items,tsj_user where goods_items.user_id=tsj_user.id and goods_items.state=2 order by goods_items.favorite desc,goods_items.hits desc limit 5";
                    $result = mysql_query( $sql );
                    $i = 0;
                    while( $result && $row = mysql_fetch_assoc( $result ))
                    {
                        ++$i;
                    ?>
                    <dl class="p<?PHP echo $i;?>">
                            <dt class="s1"></dt>
                            <dd class="s2">
                                <div class="im">
                                    <div class="tt"><a href="../item/?id=<?php echo $row["id"] ?>" target="_blank" title="<?PHP echo $row["item_title"];?>"><img alt="" src="<?PHP echo $row["pic_url"]."_100x100.jpg";?>"></a></div>
                                    <div class="bo">
                                        <p>被<span><?PHP echo $row["hits"];?></span>位兔丝查看</p>
                                        <p>共收到<span><?PHP echo $row["favorite"];?></span>个喜欢</p>
                                    </div>
                                </div>
                                <div class="ti">
                                    <p class="se"><a href="../item/?id=<?php echo $row["id"] ?>" target="_blank" title="<?php echo $row["item_title"]; ?>"><?php echo $row["item_title"]; ?></a></p>
                                </div>
                            </dd>
                        </dl>
                    <?PHP } ?>
                </div>
                </div>
            </div>
<script type="text/javascript">  
function switchTab(n){  
    for(var i = 1; i <= 2; i++){  
        document.getElementById("tab_" + i).className = "";  
        document.getElementById("tab_con_" + i).style.display = "none";  
    }  
    document.getElementById("tab_" + n).className = "on";  
    document.getElementById("tab_con_" + n).style.display = "block";  
}  
</script>
                <div style="clear:both; display:block;"></div>
            </div>

        </div>
    </div>
</div>
<!---网尾 kaishi--->
 <?php
     include("../networkend.php"); 
?>
<!------------>
</body>
</html>
<!-------->
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F22b7662ec7d02c816ddfd8f6df6e5cea' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-20984072-3']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>